package string;

/**
 * Created by Veronica on 2017/4/11.
 */
public class StringDemo04 {
    public static void main(String[] args) {
        String str = "         Hello@163.com";
      //  System.out.println(str.length());


/*        char data[] = str.toCharArray();
        for (int i = 0;i < data.length;i++){
            System.out.print(data[i]+" ");
        }*/

//        System.out.println(str.charAt(4));

//        byte bytes[] = str.getBytes();
//        for (int i = 0;i < bytes.length;i++){
//            System.out.println(new String(bytes)+"\t");
//        }


   //     System.out.println(str.indexOf("@"));

        System.out.println(str.trim());
    }
}
